﻿using Repo.Interfaces;

namespace Repo.FieldTypes
{
    public class SPMultiLineTextField : IComplexFieldType
    {
        public string Value { get; set; }

        public IComplexFieldType SetInstanceValue(object value)
        {
            if(value != null)
            {
                return new SPMultiLineTextField
                           {
                               Value = value.ToString()
                           };
            }
            return null;
        }
    }
}
